<?php
include_once("$config[webroot]/module/offer/includes/offer_class.php");
include_once("$config[webroot]/includes/page_utf_class.php");
$offer=new offer();
//============================================================
if(isset($_GET['deid']))
{
	$offer->del_info($_GET['deid']);
}

if(!empty($_GET['update'])&&!is_numeric($_GET['update']))
{
	$offer->update_info($_GET['update']);
}

$tpl->assign("re",$offer->info_list());
$tpl->assign("pro_rec",$offer->get_user_rec($buid));
//==================================
$tpl->assign("config",$config);
$tpl->assign("lang",$lang);
$output=tplfetch("admin_offer_list.htm");

?>